/**
 * 交付指标
 *
 * */
import React, {PureComponent} from 'react'
import {connect} from 'react-redux'
import Line from '../component/chart/base-line'
import '../../css/product.scss'
import '../../css/base-standand-chart.scss'
import {getRate, getPunctuality} from '../action/map.action'
import {setTitle, scale} from '../component/chart/util/common'
import OrderRate from '../component/pay/orderRate'
import OrderPunctuality from '../component/pay/orderPunctuality';

class PayQuota extends PureComponent {

    componentDidMount() {
        const {dispatch} = this.props
        dispatch(getRate())
        dispatch(getPunctuality())
    }

    render() {
        return (
            <div>
                <div className="full-container">
                    <div className="standard-chart">
                        <OrderRate/>
                    </div>
                    <div className="standard-chart">
                        <OrderPunctuality/>
                    </div>
                </div>
            </div>
        )
    }

}

function mapStoreToProps({}) {
    return {}
}

export default connect(mapStoreToProps)(PayQuota)